# coding=utf-8
import time
import trquant.code as code
import pandas as pd
import trquant as Quant
import talib
import numpy as np
import trdata
from trquant.resource import show_draw_result
import trtrade.NJSTrade as njstrade
pd.set_option('display.width', 250)
class strategy(code.Code):
    def __init__(self):
        code.Code.__init__(self)
        self.name = ""
        self.market = 'CSRPME'
        self.type = 'METALS'
        self.code = 'D1_AG'
        self.index = True
        self.temp_min = None
    def tick(self, data):
    
